package com.bbcare.comm;

public class ErrorModel {

	private boolean success;

	private Integer code;
	
	private String msg;
	
	public ErrorModel(Integer code,String msg) {
		this.success = false;
		this.code = code;
		this.msg = msg;
	}

	public boolean isSuccess() {
		return success;
	}

	public Integer getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
